import req from '@/utils/request'
const baseURL = process.env.VUE_APP_BASE_URL
// const baseURL = ''
// const baseKey = ''
export function getZones(params) {
    return req({
        method: 'get',
        url: baseURL + '/superlink/api/zones',
        params
    })
}
export function postZones(data) {
    return req({
        method: 'post',
        url: baseURL + '/superlink/api/zones',
        data
    })
}
export function putZones(data, token) {
    return req({
        method: 'put',
        url: baseURL + "/superlink/api/zones/" + token,
        data
    })
}
export function delZones(token) {
    return req({
        method: 'delete',
        url: baseURL + "/superlink/api/zones/" + token,
    })
}